﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace SharedData
{
    /// <summary>
    /// Represents an error report object.
    /// </summary>
    public class ErrorReport
    {
        /// <summary>
        /// Timestamp
        /// </summary>
        public DateTime Timestamp { get; set; }
        /// <summary>
        /// Exception type
        /// </summary>
        public string ExceptionType { get; set; }
        /// <summary>
        /// Exception message
        /// </summary>
        public string ExecptionMessage { get; set; }
        /// <summary>
        /// Exception stack trace
        /// </summary>
        public string ExceptionStackTrace { get; set; }
        /// <summary>
        /// Username
        /// </summary>
        public string Username { get; set; }
        /// <summary>
        /// Network type
        /// </summary>
        public string NetworkType { get; set; }
        /// <summary>
        /// Network type
        /// </summary>
        public long AppCurrentMemoryUsage { get; set; }
        /// <summary>
        /// AppPeakMemoryUsage
        /// </summary>
        public long AppPeakMemoryUsage { get; set; }
        /// <summary>
        /// DeviceFirmwareVersion
        /// </summary>
        public string DeviceFirmwareVersion { get; set; }
        /// <summary>
        /// DeviceHardwareVersion
        /// </summary>
        public string DeviceHardwareVersion { get; set; }
        /// <summary>
        /// DeviceManufacturer
        /// </summary>
        public string DeviceManufacturer { get; set; }
        /// <summary>
        /// DeviceName
        /// </summary>
        public string DeviceName { get; set; }
        /// <summary>
        /// DeviceTotalMemory
        /// </summary>
        public long DeviceTotalMemory { get; set; }
        /// <summary>
        /// Power source
        /// </summary>
        public string PowerSource { get; set; }
        /// <summary>
        /// Operating system
        /// </summary>
        public string OS { get; set; }
    }
}